package com.lsu.observer.homework;

/**
 * 测试
 *
 * @Author wang suo
 * @Date 2020/10/22 0022 9:09
 * @Version 1.0
 */
public class Test {
    public static void main(String[] args) {
        FireSubject subject = new FireSubject();
        new SirenObserver(1, subject);
        new SirenObserver(2, subject);
        subject.fire();
    }
}
